import numpy as np
from scipy import optimize
import sympy as sy
Show that using the L2norm that steepest descent and gradient descent are equivalent. In other words, show that for a twice continuously differentiable function f (x) that − 1 ‖∇f ‖2 ∇f = argmin{v·∇f : ‖v‖2= 1}.
from IPython import display
display.Image("/Users/a13855/Desktop/homework/522/hw2_q1.png")